// 宽度
.w-full{width: 100%;}
.h-full{height: 100%;}
@for $i from 1 through 50 {
  .w-#{$i} {
	width: #{$i * 8}rpx;
  }
}
@for $i from 1 through 50 {
  .h-#{$i} {
	height: #{$i * 8}rpx;
  }
}
/*定位*/
.absolute{position: absolute;}
.fixed{position: fixed;}
.relative{position: relative;}
.sticky{position: sticky;}
@for $i from 0 through 20 {
  .top-#{$i} {
	top: #{$i}px;
  }
}
@for $i from 0 through 20 {
  .bottom-#{$i} {
	bottom: #{$i}px;
  }
}
@for $i from 0 through 20 {
  .left-#{$i} {
	left: #{$i}px;
  }
}
@for $i from 0 through 20 {
  .-left-#{$i} {
	left: -#{$i}px;
  }
}
@for $i from 0 through 20 {
  .right-#{$i} {
	right: #{$i}px;
  }
}
/*文字加粗*/
.font-bold{
	font-weight: 700;
}
/*文字大小*/ 
.text-xs{
	font-size: 12px;
	line-height:calc(1 / 0.75);
}
.text-sm{
	font-size: 14px;
	line-height:calc(1.25 / 0.875);
}
.text-md{
	font-size: 14px;
	line-height:calc(1.25 / 0.875);
}
.text-base{
	font-size: 16px;
	line-height:calc(1.5 / 1);
}
.text-lg{
	font-size: 18px;
	line-height:calc(1.75 / 1.125);
}
.text-xl{
	font-size: 20px;
	line-height:calc(1.75 / 1.25);
}
.text-2xl{
	font-size: 24px;
	line-height:calc(2 / 1.5);
}
.text-3xl{
	font-size: 30px;
	line-height:calc(2.25 / 1.875);
}
.text-center{
	text-align: center;
}
.text-left{
	text-align: left;
}
.text-right{
	text-align: right;
}
.text-nowrap{
	text-wrap: nowrap;
}
/*圆角*/
.rounded-xs{border-radius: 2px;}
.rounded-sm{border-radius: 4px;}
.rounded-md{border-radius: 6px;}
.rounded-lg{border-radius: 8px;}
.rounded-xl{border-radius: 12px;}
.rounded-2xl{border-radius: 16px;}
.rounded-full{border-radius: 1000px;}
/*间距*/
@for $i from 1 through 40 {
  .gap-#{$i} {
		gap: #{$i+6}px;
  }
}
/*文字颜色*/
.text-black{
	color: #000000;
}
.text-white{
	color: #ffffff;
}
@for $i from 1 through 100 {
  .text-black__#{$i} {
    color: #000000#{$i+10};
  }
}
/*边框颜色*/
.border{
	border: #000000 1px solid;
}
.border-b{
	border-bottom: #000000 1px solid;
}
.border-t{
	border-top: #000000 1px solid;
}
@for $i from 1 through 1000 {
  .border-slate-#{$i} {
    border: 1px solid #000000#{$i / 10};
  }
}

@for $i from 1 through 100 {
  .border-black__#{$i} {
    border-color: #000000#{+$i+10};
  }
}
/*内间距*/
.p-auto{
	padding: auto;
}
@for $i from 1 through 30 {
  .p-#{$i} {
    padding: #{$i * 8}rpx;
  }
}
@for $i from 1 through 30 {
  .px-#{$i} {
    padding-left: #{$i * 8}rpx;
    padding-right: #{$i * 8}rpx;
  }
}
@for $i from 1 through 30 {
  .py-#{$i} {
    padding-top: #{$i * 8}rpx;
    padding-bottom: #{$i * 8}rpx;
  }
}
@for $i from 1 through 30 {
  .pl-#{$i} {
	padding-left: #{$i * 8}rpx;
  }
}
@for $i from 1 through 30 {
  .pr-#{$i} {
	padding-right: #{$i * 8}rpx;
  }
}
@for $i from 1 through 30 {
  .pt-#{$i} {
	padding-top: #{$i * 8}rpx;
  }
}
@for $i from 1 through 30 {
  .pb-#{$i} {
	padding-bottom: #{$i * 8}rpx;
  }
}
/*外间距*/
.m-auto{
	margin: auto;
}
@for $i from 1 through 30 {
  .m-#{$i} {
    margin: #{$i * 8}rpx;
  }
}
@for $i from 1 through 30 {
  .mx-#{$i} {
    margin-left: #{$i * 8}rpx;
    margin-right: #{$i * 8}rpx;
  }
}
@for $i from 1 through 30 {
  .my-#{$i} {
    margin-top: #{$i * 8}rpx;
    margin-bottom: #{$i * 8}rpx;
  }
}
@for $i from 1 through 30 {
  .ml-#{$i} {
	margin-left: #{$i * 8}rpx;
  }
}
@for $i from 1 through 30 {
  .mr-#{$i} {
	margin-right: #{$i * 8}rpx;
  }
}
@for $i from 1 through 30 {
  .mt-#{$i} {
	margin-top: #{$i * 8}rpx;
  }
}
@for $i from 1 through 30 {
  .mb-#{$i} {
	margin-bottom: #{$i * 8}rpx;
  }
}
/*弹性布局*/
.flex{
	display: flex;
}
.flex-1{
	flex: 1;
}
.flex-wrap{
	flex-wrap: wrap;
}
.flex-nowrap{
	flex-wrap: nowrap;
}
.flex-col{
	flex-direction: column;
}
.flex-row{
	flex-direction: row;
}
.justify-start{
	justify-content: flex-start;
}
.justify-end{
	justify-content: flex-end;
}
.justify-center{
	justify-content: center;
}
.justify-between{
	justify-content: space-between;
}
.justify-around{
	justify-content: space-around;
}
.items-center{
	align-items: center;
}
.items-start{
	align-items: flex-start;
}
.items-end{
	align-items: flex-end;
}
// 超出
.overflow-auto{
	overflow: auto;
}
.box-border{
	box-sizing: border-box;
}
.whitespace-nowrap{
	white-space: nowrap;
}
.break-all{
	word-break: break-all;
}
.wrap-break-word{
	overflow-wrap: break-word;
}